#include "OperatorPower.h"
#include <cmath>

OperatorPower::OperatorPower()
{
    //ctor
}

OperatorPower::~OperatorPower()
{
    //dtor
}

double OperatorPower::exec(double a, double b) const
{
    return pow(a, b);
}

std::string OperatorPower::str() const
{
    return "^";
}
